package com.rich.common.constant;

/**
 * @author minicoco
 * @version 1.0
 * @date 2021/8/16 10:44
 * 全局常量类
 */
public class MyGlobalConstant {

    /**
     * 团购常量
     */
    public static class GroupBuyConstant{
        /**
         * 活动未开始
         */
        public static final String NOT_START="0";
        /**
         * 活动一开始
         */
        public static final String IS_BEGINNING ="1";
        /**
         * 活动已结束
         */
        public static final String IS_END="2";
        /**
         * 正常
         */
        public static final String IS_NORMAL="0";

        /**
         * 未删除
         */
        public static final String NOT_DELETE="0";

        /**
         * 加入团购时的锁
         */
        public static final String LOCK_GROUP_BUY="lock_group:";

        /**
         * 用户购买次数
         */
        public static final String USER_GROUP_NUM="user_group_num:";
        public static final String PRE_USER="userId:";


        public static final String GROUP_BUY = "group_buy:";
        public static final String GROUP_BUY_ITEM = "group_buy_item:";
        public static final String ADD_GROUP_RECORD = "addRecordQueue";
        public static final String UPDATE_GROUP_STATUS = "updateGroupStatus";
    }

    public static class HouseConstant{
        /**
         * 二手房
         */
        public static final String ER_SHOU_FANG="ershoufang";
        /**
         * 租房
         */
        public static final String ZU_FANG="zufang";

    }
}
